package cn.jiyun.service.impl;

import cn.jiyun.mapper.EmployeesMapper;
import cn.jiyun.pojo.Employees;
import cn.jiyun.service.EmployeesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class EmployeesServiceImpl implements EmployeesService {
    @Autowired
    private EmployeesMapper employeesMapper ;
    @Override
    public Employees getEmployees(Integer id) {
        return employeesMapper.findById(id);
    }
}
